package api

import (
	"fmt"

	"github.com/gin-gonic/gin"
)

type Test struct {
	Username string `json:"userName"` //订单号
	Password string `json:"passWord"` //订单号

}

func UserLogin(context *gin.Context) {

	var t Test
	err := context.BindJSON(&t)
	if err != nil {
		panic(err)
	}
	fmt.Println(t.Username, t.Password)
	//fmt.Println("run here....", context)

}
